import 'dart:convert';
import 'package:work_tools/generated/json/base/json_field.dart';
import 'package:work_tools/generated/json/token_entity.g.dart';

@JsonSerializable()
class TokenEntity {

  String? aId;
  String? rId;
  //1 表示登录 2表示注册
  int? loginStatus;

  String? mobile;

  TokenEntity();

  factory TokenEntity.fromJson(Map<String, dynamic> json) => $TokenEntityFromJson(json);

  Map<String, dynamic> toJson() => $TokenEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}